<?php /* Smarty version Smarty-3.0.5, created on 2011-05-30 13:41:18
         compiled from ".\templates\tesztkitoltes.tpl" */ ?>
<?php /*%%SmartyHeaderCode:284494de39e7e206e45-84889120%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '96b9533641e903181d050d93b7729c975a750112' => 
    array (
      0 => '.\\templates\\tesztkitoltes.tpl',
      1 => 1306762876,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '284494de39e7e206e45-84889120',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!isset($_smarty_tpl->tpl_vars['pageStyles']) || !is_array($_smarty_tpl->tpl_vars['pageStyles']->value)) $_smarty_tpl->createLocalArrayVariable('pageStyles', null, null);
$_smarty_tpl->tpl_vars['pageStyles']->value[] = "css/mainstyle.css";?>
Teszt kitoltese:
<br></br>
Valasszuk ki a kitoltendo tesztet:
<br></br>

Tantargy:
<select>
    <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('disc')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
    <option value="Kerdes"><?php echo $_smarty_tpl->tpl_vars['item']->value['DName'];?>
</option>
<?php }} ?>
</select>

  Tesztnev:
<select>
    <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('testname')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
    <option value="Kerdes"><?php echo $_smarty_tpl->tpl_vars['item']->value['TName'];?>
</option>
<?php }} ?>
</select>
<br></br>
<br></br>

<form class="questionfill" action="" method="post">
    <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('question')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
    <label for="Kerdes"><?php echo $_smarty_tpl->tpl_vars['item']->value['Szoveg'];?>
</label><br></br>
    <input type='checkbox' name='Answare1' value='Yes' />
    <label for="Kerdes"><?php echo $_smarty_tpl->tpl_vars['item']->value['Answer1'];?>
</label><br></br>
    <input type='checkbox' name='Answer2' value='Yes' />
    <label for="Kerdes"><?php echo $_smarty_tpl->tpl_vars['item']->value['Answer2'];?>
</label><br></br>
    <input type='checkbox' name='Answer3' value='Yes' />
    <label for="Kerdes"><?php echo $_smarty_tpl->tpl_vars['item']->value['Answer3'];?>
</label><br></br>
    <input type='checkbox' name='Answer4' value='Yes' />
    <label for="Kerdes"><?php echo $_smarty_tpl->tpl_vars['item']->value['Answer4'];?>
</label><br></br>
    <input type='checkbox' name='Answer5' value='Yes' />
    <label for="Kerdes"><?php echo $_smarty_tpl->tpl_vars['item']->value['Answer5'];?>
</label><br></br><br></br>
<?php }} ?>
</form>
<form class="buttonsave" action="/index.php" method="post">
    <p><input type="submit" name="save" value="Save"/></p>
    <input type="hidden" name="page" value="tanulmanyi"/>
</form>